package com.white;

import static org.junit.Assert.*;

import org.junit.Test;

public class PracticeTest {
	private Practice practice;
	
	@Test
	public void testTriangle(){
		practice = new Practice();
		assertEquals("Triangle: isosceles", practice.triangle(4, 4, 7));
		assertEquals("Triangle: equilateral", practice.triangle(4, 4, 4));
		assertEquals("It is not a triangle.", practice.triangle(4, 4, 9));
		assertEquals("Triangle: scalene", practice.triangle(7, 4, 5));
		assertEquals("Triangle: scalene right-angle", practice.triangle(5, 4, 3));
	}
}
